import Service from '../utils/request'

class HomeApi extends Service{
	getHomeData(){
			return this.get({url:'/api/edu/index'})
	}
	getOne(id:number){
		return this.get({url:`/api/edu/teacher/${id}`})
	}
}

export default new HomeApi()